package com.example.web.comtroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class Hello {

	
	@GetMapping("/hello")
	public String hello(ModelMap modelMap) {
		modelMap.addAttribute("msg","hello  this is thymeleaf");
		return "hello";
	}
}
